package com.ym.b2b.upload.sqlbean;

import java.util.Date;

public class EmBUpload {

    private Long uploadId;

    public Long getUploadId() {
        return uploadId;
    }

    public void setUploadId(Long uploadId) {
        this.uploadId = uploadId;
    }

    private String moduleId;

    private String funcId;

    private String dataId;

    private String fileName;

    private String fileType;
    private String fileSysName;
    private String isPicZoom = "false";

    private long   fileSize;

    private double fileSizeKb;
    private String plugPath;
    private String fileExtensions;
    private String fileIcons;

    private String filePath;

    private String relativeFilePath;

    public String getRelativeFilePath() {
        return relativeFilePath;
    }

    public void setRelativeFilePath(String relativeFilePath) {
        this.relativeFilePath = relativeFilePath;
    }

    private String year;

    private String month;

    private String day;

    private String createdBy;

    private Date   creationDate;

    public String getModuleId() {
        return moduleId;
    }

    public void setModuleId(String moduleId) {
        this.moduleId = moduleId;
    }

    public String getFuncId() {
        return funcId;
    }

    public void setFuncId(String funcId) {
        this.funcId = funcId;
    }

    public String getDataId() {
        return dataId;
    }

    public void setDataId(String dataId) {
        this.dataId = dataId;
    }

    public String getFileName() {
        return fileName;
    }

    public void setFileName(String fileName) {
        this.fileName = fileName;
    }

    public String getFileType() {
        return fileType;
    }

    public void setFileType(String fileType) {
        this.fileType = fileType;
    }

    public Long getFileSize() {
        return fileSize;
    }

    public void setFileSize(Long fileSize) {
        this.fileSize = fileSize;
    }

    public String getFilePath() {
        return filePath;
    }

    public String getFileSysName() {
        return fileSysName;
    }

    public void setFileSysName(String fileSysName) {
        this.fileSysName = fileSysName;
    }

    public void setFilePath(String filePath) {
        this.filePath = filePath;
    }

    public String getYear() {
        return year;
    }

    public void setYear(String year) {
        this.year = year;
    }

    public String getMonth() {
        return month;
    }

    public void setMonth(String month) {
        this.month = month;
    }

    public String getDay() {
        return day;
    }

    public String getFileExtensions() {
        return fileExtensions;
    }

    public void setFileExtensions(String fileExtensions) {
        this.fileExtensions = fileExtensions;
    }

    public String getFileIcons() {
        return fileIcons;
    }

    public void setFileIcons(String fileIcons) {
        this.fileIcons = fileIcons;
    }

    public void setDay(String day) {
        this.day = day;
    }

    public String getCreatedBy() {
        return createdBy;
    }

    public void setCreatedBy(String createdBy) {
        this.createdBy = createdBy;
    }

    public Date getCreationDate() {
        return creationDate;
    }

    public void setCreationDate(Date creationDate) {
        this.creationDate = creationDate;
    }

    public double getFileSizeKb() {
        return Math.round(((double) fileSize) / 1024);
    }

    public String getPlugPath() {
        return plugPath;
    }

    public void setPlugPath(String plugPath) {
        this.plugPath = plugPath;
    }

    public void setFileSize(long fileSize) {
        this.fileSize = fileSize;
    }

    public void setFileSizeKb(double fileSizeKb) {
        this.fileSizeKb = fileSizeKb;
    }

    public String getIsPicZoom() {
        return isPicZoom;
    }

    public void setIsPicZoom(String isPicZoom) {
        this.isPicZoom = isPicZoom;
    }
}
